export class Model {
  /**
   * Creates an instance of Model.
   * @param {number} modelId 型号ID
   * @param {number} factoryId 厂商ID
   * @param {string} modelName 型号名称
   * @param {number} capacity 装机容量(MW)
   * @param {string} deviceCategoryId 设备id
   * @param {string} factoryName 厂家名称
   * @param {boolean} isChecked 是否选中
   * @param {string} deviceCategoryName 设备名称
   * @memberof Model
   */
  constructor(
    public modelId: number,
    public deviceCategoryId: number,
    public factoryId?: number,
    public modelName?: string,
    public capaCity?: number,
    public factoryName?: string,
    public isChecked?: boolean,
    public factoryLogo?: string,
    public hasDefault?: boolean,
    public deviceCategoryName?: string,
  ) {
    Object.defineProperty(this, 'isChecked', {enumerable: false});
    Object.defineProperty(this, 'factoryName', {enumerable: false});
    Object.defineProperty(this, 'factoryLogo', {enumerable: false});
    Object.defineProperty(this, 'hasDefault', {enumerable: false});

  }
}
